package com.example.covid19.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author BaiZhengChun
 * @since 2022-09-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user")
@ApiModel(value="User对象", description="")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "userid",type = IdType.AUTO)
    @ApiModelProperty(value = "用户标识")
    private Integer userid;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "身份")
    private String usrid;


    @ApiModelProperty(value = "注销标识")
    private Integer deid;

    @ApiModelProperty(value = "学号")
    private Integer studentid;

    @ApiModelProperty(value = "消费额度")
    private Integer money;

    @ApiModelProperty(value = "用户名")
    private String username;

    private Integer balance;

    private Integer frequency;

    private String facetoken;

    private LocalDateTime inscription;



}
